export default {
	state: {
		userInfo: {
			openId: "oRrdQtyTxZxLFzTYnR_KYQ0Dke9k",
			nickName: "在山的那边海的那边有一只小菜鸡",
			gender: 1,
			city: "厦门",
			province: "福建",
			country: "中国",
			avatarUrl: "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-9a6b8176-f51f-42c5-88a4-064c0b2d9db8/fd68e63d-5793-4c51-98d2-7be902866f01.jpg",
			unionId: "oU5Yyt_ug_dhf5kh_xZYdIHy4Lr0"
		}
	},
	mutations: {
		setUserInfo: function (state: any, data: any) {
			state.userInfo = {...state.userInfo,...data}
		},
		signOut: function (state: any) {
			state.userInfo = {}
		}
	}
}